<?php /* Smarty version 2.6.19, created on 2008-07-21 15:22:15
         compiled from another/send.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'another/send.tpl', 1, false),array('modifier', 'escape', 'another/send.tpl', 16, false),)), $this); ?>
<?php echo smarty_function_config_load(array('file' => "index.conf"), $this);?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/doctype.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<head>
    <title>Send message</title>
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/include.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</head>

<body>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/logo.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/global_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div>
    <strong><a href="/another/send/<?php echo $this->_tpl_vars['data']['user_id']; ?>
/">Send</a> message to 
    <a href="/another/profile/<?php echo $this->_tpl_vars['data']['user_id']; ?>
/"><?php echo ((is_array($_tmp=$this->_tpl_vars['data']['user_login'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></strong>
</div><br />

<div><strong><?php echo $this->_tpl_vars['error']['empty']; ?>
</strong></div>

<?php if (! $this->_tpl_vars['send']): ?>
	<form action="" method="post">
	    Title <div><strong><?php echo $this->_tpl_vars['error']['title']; ?>
</strong></div>
	    <input type="text" name="form[title]" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['form']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" maxlength="150" /><br />
	    Message <div><strong><?php echo $this->_tpl_vars['error']['message']; ?>
</strong></div>
	    <textarea name="form[content]" cols="25" rows="5"><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['content'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea><br />
	    <input type="submit" name="submit" value="Send" />
	</form>
<?php else: ?>
    <p>Message was send</p>
<?php endif; ?>

<p>&nbsp;</p>
<a href="/another/index/<?php echo $this->_tpl_vars['data']['user_id']; ?>
/">User menu</a>

</body>

</html>